package com.shuqi.model.bean;

public class GetUserOnlineInfo {
    /**获取用户身份：成功*/
    public static final int RESULT_SUCCESS = 1;
    /**获取用户身份：获取失败*/
    public static final int RESULT_FAIL = 0;
    /**获取用户身份：获取失败，网络出错*/
    public static final int RESULT_FAIL_NET = -1;
    
    /** 联网请求结果：200，成功，其他均为失败 */
    private String serverState;
    /** 联网请求结果：提示语 */
    private String serverMessage;

    private String userId;
    private boolean isNewUser;
    private String nikeName;
    private String gender;
    private String banlance;
    private String session;

    public String getServerState() {
        return serverState;
    }

    public void setServerState(String serverState) {
        this.serverState = serverState;
    }

    public String getServerMessage() {
        return serverMessage;
    }

    public void setServerMessage(String serverMessage) {
        this.serverMessage = serverMessage;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public boolean isNewUser() {
        return isNewUser;
    }

    public void setNewUser(boolean isNewUser) {
        this.isNewUser = isNewUser;
    }

    public String getNikeName() {
        return nikeName;
    }

    public void setNikeName(String nikeName) {
        this.nikeName = nikeName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBanlance() {
        return banlance;
    }

    public void setBanlance(String banlance) {
        this.banlance = banlance;
    }

    public String getSession() {
        return session;
    }

    public void setSession(String session) {
        this.session = session;
    }

    @Override
    public String toString() {
        return "GetUserOnlineInfo [serverState=" + serverState + ", serverMessage=" + serverMessage
                + ", userId=" + userId + ", isNewUser=" + isNewUser + ", nikeName=" + nikeName
                + ", gender=" + gender + ", banlance=" + banlance + ", session=" + session + "]";
    }

}
